package com.mohe.shanpao.service.user.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mohe.shanpao.dao.user.SysUserRoleMapper;
import com.mohe.shanpao.domain.user.SysUserRole;
import com.mohe.shanpao.service.GenericServiceImpl;
import com.mohe.shanpao.service.user.SysUserRoleService;

@Service("sysUserRoleService")
@Transactional
public class SysUserRoleServiceImpl extends GenericServiceImpl<SysUserRole> implements SysUserRoleService
{
    
    @Autowired
    private SysUserRoleMapper sysUserRoleMapper;
    
    
    @Override
    public SysUserRole selectById(Long id)
    {
        return (SysUserRole)sysUserRoleMapper.selectByPrimaryKey(id);
    }
    
}
